package com.llmm.bean;

import lombok.Data;

/**
 * 请求结果
 * 用于返回前端的数据
 */
@Data
public class RestRet<T> {
    //返回数据
    private T data;
    //返回数据总总
    private Integer total;
    //返回信息
    private String message;

    public RestRet() {
    }

    public RestRet(T data, Integer total, String message) {
        this.data = data;
        this.total = total;
        this.message = message;
    }
}
